package com.scy.java.object;

public class Circle {
    //定义半径
    double radius;
    public void circleArea(){
        System.out.println("面积为："+(3.14*radius*radius));
    }
    public double circleArea1(){
        double  area = 3.14*radius*radius;
        return area;
//        System.out.println("面积为："+(3.14*radius*radius));
    }
}
